package com.dongdongqiang.domain.sys;

import com.dongdongqiang.common.base.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Table;


/**
* SysRolePermission 实体类
* by ZZB 2017-09-15 21:22:40
*/
@Table(name = "sys_role_permission")
public class SysRolePermission extends BaseEntity {
    @Column(name = "permission_id")
    private String permissionId;
    @Column(name = "role_id")
    private String roleId;

    /*----------------------get set 方法----------------------*/
    public String getPermissionId() {return permissionId;}
    public void setPermissionId(String permissionId){this.permissionId = permissionId == null ? null : permissionId.trim();}
    public String getRoleId() {return roleId;}
    public void setRoleId(String roleId){this.roleId = roleId == null ? null : roleId.trim();}
    /*----------------------toString 方法----------------------*/
    @Override
    public String toString() {
        return "SysRolePermission{" +
        "permissionId='" + getPermissionId() + '\'' + ',' +
        "roleId='" + getRoleId() + '\'' + 
        '}';
    }
}
